package com.dashu.base.api.device.MCLZ;


import com.dashu.base.enums.device.DownType;
import com.dashu.base.bean.device.BaseResp;
import com.dashu.base.bean.device.resp.DeviceComparedResp;
import com.dashu.base.bean.device.resp.DeviceHeartResp;

/**
 * 设备主动上报
 */
public interface MCLZDeviceUpApi {

    /**
     * 回调接口
     * @param msg
     * @return
     */
    public BaseResp onCallBack(String msg, DownType downType);


    /**
     * 客户端回调  比如客户端心跳
     * @param msg
     */
    public BaseResp onClientCallBack(String msg, DownType downType);

    /**
     * 心跳
     * @param resp
     * @param msg
     */
    public BaseResp heart(DeviceHeartResp resp, String msg);


    /**
     * 人脸识别推送
     * @param resp
     * @param msg
     */
    public BaseResp compared(DeviceComparedResp resp, String msg);


    /**
     * ai 天眼
     * @param resp
     * @param msg
     */
    public BaseResp aiEye(DeviceComparedResp resp, String msg);

}
